package com.pajk.user.dal.mapper;

import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.pajk.user.dal.model.UserDeviceBindingDO;

public interface UserDeviceBindingMapper {
	
	 void insertUserDeviceBinding(UserDeviceBindingDO userDeviceBindingDO);
	 
	 UserDeviceBindingDO getUserDeviceBindingByUserIdAndDeviceId(@Param("userId")Long userId,@Param("deviceId")Long deviceId);

	 void updateUserDeviceBindingByUserIdAndDeviceId(Map map);

     void updateUserDeviceBindingByUserId(Map map);
	 
	 
}
